package page.article;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import table.ArticleTable;
import page.inc.HtmlPage;
import util.PubFun;

public class ShowArticleEditorPage extends HtmlPage {

	public String print(HttpServletRequest req, HttpServletResponse resp)
			throws Exception {
		int articleId = getIntParameter("article_id", 0, req);
		req.setAttribute("content", PubFun.getArContentValue(ArticleTable.loadContentById(articleId)));

		return "/jsp/inc/fck.jsp";
	}

}